package com.cn.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.sql.Date;
import java.util.UUID;

/**
 * @ClassName works
 * @Description TODO
 * @Author yujiajing
 * @Date 2022/11/15 20:54
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("works")
@TableName("tb_works")
public class Works {
    int userName;
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    Long worksId;
    String name;
    String works;
    String imageUrl;
    Date worksDate;
}
